package com.cherish.web.menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cherish.web.menu.entity.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author:MQ
 * Date:2023/12/2622:08
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {
    //根据用户id查询所有的权限
    List<Menu> getMenuListByUserId(@Param("userId") long userId);
}
